#include "src/video_processing.h"
#include "src/audio_processing.h"

int main(int argc, char** argv)
{
    //simplest_yuv420_split("resource/1.yuv",500,484,1);
    //simplest_yuv444_split("resource/2.yuv", 500,484,1);
    //simplest_yuv420_gray("resource/1.yuv", 500,484,1);
    //simplest_yuv420_halfy("resource/1.yuv", 500,484,1);
    //simplest_yuv420_border("resource/1.yuv", 500,484,100, 1);
    //simplest_yuv420_graybar(1920, 1080, 255, 0, 12, "output_graybar");
    //simplest_yuv420_psnr("resource/1.yuv", "resource/1.yuv", 500, 484, 1);

    //simplest_rgb24_split("tools/2RGB/converted_image.rgb", 623, 500, 1);
    //simplest_rgb24_to_bmp("resource/lena_256x256_rgb24.rgb",256,256,"output_lena.bmp");
    //simplest_rgb24_to_yuv420("output_1.rgb",1920,1080,1,"output_1.yuv");
    //simplest_rgb24_colorbar(1920, 1080, "output_1.rgb");
    //simplest_rgb24_to_bmp("output_1.rgb",1920,1080,"output_1.bmp");
    //simplest_pcm16le_split("resource/audio/NocturneNo2inEflat_44.1k_s16le.pcm");
    //simplest_pcm16pixelle_halfvolumeleft("resource/audio/NocturneNo2inEflat_44.1k_s16le.pcm");
    //simplest_pcm16le_doublespeed("resource/audio/NocturneNo2inEflat_44.1k_s16le.pcm");
    //simplest_pcm16le_cut_singlechannel("resource/audio/drum.pcm", 2360, 120);
    //simplest_pcm16le_to_wave("resource/audio/NocturneNo2inEflat_44.1k_s16le.pcm", 0, 0, "1.wav");
    //simplest_h264_parser("resource/video/sintel.h264");
    //simplest_aac_parser("resource/audio/nocturne.aac");
    //simplest_flv_parser("resource/video/cuc_ieschool.flv");
    simplest_udp_parser(8800);
    return 0;
}
